package com.example.qxfw.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;



import com.example.qxfw.common.entity.zy.EnviroStation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/************************************
*
* @author : HuangDeYin Jolly
* @since : JDK 11
* @Date : 2023/7/8  星期六   15:49
* @description : 此类用来
***************************************/
@Mapper
public interface EnvirostationMapperXml extends BaseMapper<EnviroStation> {
    /**
     * delete by primary key
     * @param stationid primaryKey
     * @return deleteCount
     */
    int deleteByPrimaryKey(String stationid);

    /**
     * insert record to table
     * @param record the record
     * @return insert count
     */
    int insert(EnviroStation record);

    /**
     * insert record to table selective
     * @param record the record
     * @return insert count
     */
    int insertSelective(EnviroStation record);

    /**
     * select by primary key
     * @param stationid primary key
     * @return object by primary key
     */
    EnviroStation selectByPrimaryKey(String stationid);

    /**
     * update record selective
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKeySelective(EnviroStation record);

    /**
     * update record
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKey(EnviroStation record);

    List<EnviroStation> getTrim();

    List<EnviroStation> judgeSelect(@Param("stationName") String stationName);
    Integer deleteTrim(@Param("stationName") String stationName);
}